/**
 * 
 */
package org.jftstool.config;

/**
 * @author grupo JFTS
 *
 */
public class SearcherConfig {
	private int maxDocumentReturn = 0;
	private boolean useValidOrders = false;
	private String jftsResultItemClass = null;
	private boolean useDefaultAnalyzer = false;
	private OrdersConfig orders = null;

	
	public SearcherConfig() {
		jftsResultItemClass = "";
	}


	public SearcherConfig(int maxDocumentReturn, OrdersConfig orders, boolean useValidOrders, String jftsResultItemClass, boolean useDefaultAnalyzer) {
		super();
		this.maxDocumentReturn = maxDocumentReturn;
		this.useValidOrders = useValidOrders;
		this.jftsResultItemClass = jftsResultItemClass;
		this.orders = orders;
	}


	public int getMaxDocumentReturn() {
		return maxDocumentReturn;
	}


	public void setMaxDocumentReturn(int maxDocumentReturn) {
		this.maxDocumentReturn = maxDocumentReturn;
	}


	public boolean getUseValidOrders() {
		return useValidOrders;
	}


	public void setUseValidOrders(boolean useValidOrders) {
		this.useValidOrders = useValidOrders;
	}


	public String getJftsResultItemClass() {
		return jftsResultItemClass;
	}


	public void setJftsResultItemClass(String jftsResultItemClass) {
		this.jftsResultItemClass = jftsResultItemClass;
	}


	public OrdersConfig getOrders() {
		return orders;
	}


	public void setOrders(OrdersConfig orders) {
		this.orders = orders;
	}


	public boolean getUseDefaultAnalyzer() {
		return useDefaultAnalyzer;
	}


	public void setUseDefaultAnalyzer(boolean useDefaultAnalyzer) {
		this.useDefaultAnalyzer = useDefaultAnalyzer;
	}
}